import { request } from "@/utils"
// 用户相关的所有请求

// 登录请求
export const loginAPI = async data => await request.post('/authorizations', data)

// 获取用户信息
export const getProfileAPI = async () => await request({
    url: '/user/profile',
    method: 'GET'
})
